local xtsender = {}

function xtsender.sendit()
	xt.printc()
	print(node.heap())
	
	sk=net.createConnection(net.TCP, 0)
	sk:on("receive", function(sck, c) 
		print(c) 
	end)
	sk:connect(8090,"192.168.199.104")
	--sk:send("#1:T="..xt.getc().."\r\n")
	sk:send("Test string")
	sk:close()
end

tmr.alarm(5000, 1, xtsender.sendit)

return xtsender
